<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 200px;
            height: 50px;
            border:1px solid red;
            text-align: center;
            //text-decoration: line-through;
           // text-decoration: overline;
            text-decoration: underline;
            //设置行高;
            line-height: 50px;
            text-shadow: red 10px 10px 5px;
            /*设置字体大小*/
            font-size: 20px;
            /*设置加粗*/
            font-weight: bold;
            /*设置斜体*/
            font-style: italic;
            /*设置字体*/
            font-family: cursive;
        }
        a{
            text-decoration: none;//去掉下划线;
        }
        h3{
            font-weight: normal;
            font:30px cursive;
        }
    </style>
</head>
<body>
<div>文本和字体相关</div>
<a href="aaa">aaaaa</a>
<h3>我一拳打到你的坤吧</h3>
</body>
</html>